package com.ztgf.commodity.models.bo;

import com.ztgf.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * author: chenyu.wang
 * date: 2020-05-25 11:12
 * Description:
 */
@Data
public class CommodityCategoryBO extends BaseBO implements Serializable {


    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "首字母缩写")
    private String initials;

    @ApiModelProperty(value = "父id")
    private Long parentId;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "是否发布;0未发布，1发布")
    private Integer isPublish;

    @ApiModelProperty(value = "状态;0正常、1删除")
    private Integer status;

    @ApiModelProperty(value = "分成比例")
    private Double dividendScale;

    @ApiModelProperty(value = "排序类型 1降序 2升序")
    private String sortType;

    @ApiModelProperty(value = "唯一标识")
    private String code;
}
